package com.itheima.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

//分类管理
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_dict")
public class Dict implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    //数据值
    private String value;

    //标签名
    private String label;

    //类型
    private String type;

    //描述
    private String description;

    //排序(升序)
    private Integer sort;

    //创建时间
    private LocalDateTime create_time;

    //更新时间
    private LocalDateTime update_time;

    //备注信息
    private String remarks;

    //删除标记
    private String del_flag;
}
